import { ajaxFn } from "./ajax-export.js";
// method,url,callback
let btn = document.querySelector("button");
btn.onclick = function () {
    console.log(111);
    ajaxFn("get", "http://localhost/getServer", (res) => {
        document.querySelector("p").innerText = res;
    })
}